import { network } from '@/utils';

import { logisCenter } from '../../../../../config/Apis';

export async function queryOrderList(params: any) {
  return network.get(logisCenter.order_recoverList, { params });
}

export async function addOrder(params: any) {
  return network.post(logisCenter.order_recover_add, { data: params });
}

export async function editOrder(params: any) {
  return network.post(logisCenter.order_recover_update, { data: params });
}

export async function delOrder(params: any) {
  return network.deleter(logisCenter.order_recover_del, { params });
}
